package cn.csg.iotplatform.module.system.controller.admin.dept.vo.dept;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 部门信息 Response VO")
@Data
public class DeptRespVO {

    @Schema(description = "部门编号", example = "1024")
    private Long id;

    @Schema(description = "部门名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "南网")
    private String name;

    @Schema(description = "部门简称", requiredMode = Schema.RequiredMode.REQUIRED, example = "南网")
    private String shortName;

    @Schema(description = "父部门 ID", example = "1024")
    private Long parentId;

    @Schema(description = "上级部门名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "南网")
    private String parentName;

    @Schema(description = "是否用户组织机构", requiredMode = Schema.RequiredMode.REQUIRED, example = "1-是0-否")
    private Integer userAttr;

    @Schema(description = "是否项目设备单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "1-是0-否")
    private Integer projectAttr;

    @Schema(description = "部门类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1-单位2-部门")
    private Integer deptType;

    @Schema(description = "显示顺序不能为空", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Integer sort;


}
